using System.BusinessObjects.Data;
using System;

namespace Blazing.BusinessObjects.Cms
{
    [Serializable]
    public class SiteAlias : DataObject
    {
        public virtual Site ParentSite
        {
            get { return GetValue<Site>("ParentSite"); }
            set
            {
                BeginEdit();
                SetValue("ParentSite", value);
            }
        }

        public virtual string Name
        {
            get { return GetValue<string>("Name"); }
            set
            {
                BeginEdit();
                SetValue("Name", value);
            }
        }

        public virtual string Url
        {
            get { return GetValue<string>("Url"); }
            set
            {
                BeginEdit();
                SetValue("Url", value);
            }
        }

    }
}
